package com.github.pig.nideshop.service.impl;

import com.github.pig.nideshop.entity.NideshopProduct;
import com.github.pig.nideshop.mapper.NideshopProductMapper;
import com.github.pig.nideshop.model.vo.ProductVo;
import com.github.pig.nideshop.service.INideshopProductService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author J神
 * @since 2018-06-11
 */
@Service
public class NideshopProductServiceImpl extends ServiceImpl<NideshopProductMapper, NideshopProduct> implements INideshopProductService {
    @Autowired
    private NideshopProductMapper nideshopProductMapper;
    @Override
    public List<ProductVo> selectProductVos(List<Integer> ids) {
        return nideshopProductMapper.selectProductVos(ids);
    }
}
